package com.csun.dsms.model.domain;

import com.csun.dsms.comment.core.mybatis.BaseEntity;
import lombok.Data;

import java.util.Date;
import javax.persistence.*;

@Data
@Table(name = "dsms_schedule")
public class DsmsSchedule extends BaseEntity {

    /**
     * 调度器名称
     */
    @Column(name = "schedule_name")
    private String scheduleName;

    /**
     * 调度器编码
     */
    @Column(name = "schedule_code")
    private String scheduleCode;

    /**
     * cron表达式
     */
    private String cron;

    /**
     * 是否自启动 0-否 1-是
     */
    @Column(name = "is_auto_run")
    private Integer isAutoRun;

    /**
     * 状态 ENABLE-启用 DISABLE-禁用
     */
    private String status;

    /**
     * 备注
     */
    private String remark;

}